package model;

public abstract class Card {

    private static String[] suits = {"hearts", "spades", "diamonds", "clubs"};//serce,wino,romb,trefl
    private static String[] ranks = {"Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"};

    /**
     * UNUSED
     * card is an int in range 0-51
     * @param card
     * @return
     */
    public static String getString (int card) {
        return (ranks[card%13]+" "+ suits[card/13]);
    }
    /**
     * UNUSED
     * 
     */
    public static String getSuit(int suit){
        return suits[suit];
    }
    /**
     * UNUSED
     * 
     */
    public static String getRank(int rank){
        return ranks[rank];
    }

}
